package com.chang.menu;

public class Menu {
    public static void StartMenu() throws InterruptedException {
        System.out.println("\t\t收银台管理系统");
        System.out.println("----------------");
        System.out.println("1.用户登录");
        System.out.println("2.用户注册");
        System.out.println("3.管理员登录");
        System.out.println("4.退出系统");
        System.out.println("----------------");
        Thread.sleep(100);
        System.out.print("请选择(1|2|3|4):");
    }

    public static void AdministrateMenu() throws InterruptedException {
        System.out.println("\t\t管理员功能");
        System.out.println("----------------");
        System.out.println("1、增添或修改商品信息");
        System.out.println("2、删除商品信息");//Ctrl+d复制一行
        System.out.println("3、查询商品信息");
        System.out.println("4、管理用户信息");
        System.out.println("5、销量统计");
        System.out.println("6、库存统计");
        System.out.println("7、退出系统");
        System.out.println("----------------");//Alt+Shift+向下方向键
        Thread.sleep(100);
        System.out.print("请选择(1|2|3|4|5|6|7):");
    }

    public static void UserMenu() throws InterruptedException {
        System.out.println("\t\t用户功能");
        System.out.println("----------------");
        System.out.println("1.下单");
        System.out.println("2.订单查询和退款");
        System.out.println("3.账号注销");
        System.out.println("4.退出系统");
        System.out.println("----------------");
        Thread.sleep(100);
        System.out.print("请选择(1|2|3|4):");
    }

    public static void manageUser() throws InterruptedException {
        System.out.println("\t\t用户管理");
        System.out.println("----------------");
        System.out.println("1.更改密码");
        System.out.println("2.更改状态");
        System.out.println("3.返回");
        System.out.println("----------------");
        Thread.sleep(100);
        System.out.print("请选择(1|2|3):");
    }
}
